//==============================================================================
// Phalangite Macedonian_Anim.txt
//==============================================================================

import phalangite_sword_anim.txt

//==============================================================================
define LargeGreekShield
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Greek Shield
	    ReplaceTexture Attachments G Shield Copper/Phalanx Shield
         }
      }
   }
}


//==============================================================================
define Spear
{
   SetSelector
   {
      set hotspot
      {
         version
         {
            Visual Sarissa
         }
      }
   }
}


//==============================================================================
define Head
{
   SetSelector
   {
      TechLogic None/Champion Infantry
      set hotspot
      {
         version
         {
            Visual Infantry G Phrygian Head Bronze
		}
	}
      set hotspot
      {
         version
         {
            Visual Infantry G Phrygian Head Iron
		}
	}
   }
}


//==============================================================================
anim Idle
{
	SetSelector
	{
		SetSelector
		{
			TechLogic none/Champion Infantry
			set hotspot
			{
				version
				{
					Visual Special Phalanx_idleB
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor2
					}
				}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_idleB
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor
				}
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		SetSelector
		{
			TechLogic none/Champion Infantry
			set hotspot
			{
				version
				{
					Visual Special Phalanx_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor2
					}
				}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag FootstepLeft 0.00 true   
                  tag FootstepRight 0.50 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
			TechLogic none/Champion Infantry
			set hotspot
			{
				version
				{
					Visual Special Phalanx_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor2
					}
				}
			set hotspot
			{
				version
				{
					Visual Special Phalanx_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
                  tag Attack 0.49 true   
                  tag GenericSound 0.40 true   
//-- end auto generated section
					Connect TopOfHead Head hotspot
					Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/Special Phalanx Armor
				}
			}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic none/Champion Infantry
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Phalanx Armor
				}
			}
			set hotspot
			{
				version
				{
				Visual Infantry G Hoplite_DeathA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Phalanx Armor2
				}
			}
   }
}


//==============================================================================
anim Flail
{
   SetSelector
   {
      TechLogic none/Champion Infantry
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Phalanx Armor
				}
			}
			set hotspot
			{
				version
				{
				Visual Infantry G Hoplite_FlailA
				connect RightHand Spear hotspot
				connect LeftForearm LargeGreekShield hotspot
				Connect TopOfHead Head hotspot
				Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/Phalanx Armor2
				}
			}
   }
}

